package com.adulcimer.core.config;

import com.adulcimer.core.common.JacksonObjectMapper;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;

/**
 * @author Simon
 * @create 2025/7/21
 * @Description
 **/
@Configuration
public class JacksonConfig {
    @Bean
    @Primary
    public ObjectMapper objectMapper() {
        return new JacksonObjectMapper();
    }
}
